﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace DiBang.Common
{
    /// <summary>
    /// 用于放置静态参数
    /// </summary>
    public class ConstParam
    {
        //UserGroup分为三个等级:Administrator,User,Viewer,对应管理员,使用者
        public static string UserGroup_Administrator = "Administrator";

        public static string UserGroup_User = "User";

        public static string UserGroup_Viewer = "Viewer";

        /// <summary>
        ///  数据库连接字符串,sql为@,Oracle为:
        /// </summary>
        public static string DbChar = ConfigurationManager.AppSettings["DbChar"].ToString();

        /// <summary>
        /// 串口更新的数据,全局有效
        /// </summary>
        public static string DiBangRead = "0";

        /// <summary>
        /// 设定单个容器重
        /// </summary>
        public static string AveRongQi = ConfigurationManager.AppSettings["AveRongQi"].ToString();

    }
}
